// tabtenn.cc
// Created by liushuai on 18-8-6.
//
#include "tabtenn.hpp"
#include <iostream>
TableTennisPlayer::TableTennisPlayer(const string &fn,
                                     const string &ln, bool ht) : firstname(fn),lastname(ln),hasTable(ht){};
bool TableTennisPlayer::HasTable() const {
    return hasTable;
}
void TableTennisPlayer::ResetTable(bool v) {
    hasTable = v;
}
void TableTennisPlayer::Name() const {
    std::cout<<"first name: "<<firstname<<" last name: "<<lastname<<'\n';
}